package com.yc.cloud.portal.dto.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.cloud.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 答题库
 *
 * @author Yancy
 * @since 2024-01-31
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("answer")
@ApiModel(value = "Answer对象", description = "答题库")
public class AnswerCreateParam extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("问题编号")
    @TableField("question_no")
    private String questionNo;

    @ApiModelProperty("展示形式,0->文本,1->图片,2->视频 3->模型")
    @TableField("show_type")
    private String showType;

    @ApiModelProperty("回答内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("是否已删除")
    @TableField("deleted")
    private Boolean deleted;


    public static final String QUESTION_NO = "question_no";

    public static final String SHOW_TYPE = "show_type";

    public static final String CONTENT = "content";

    public static final String DELETED = "deleted";

}
